<template>
  <div id="app">
    <router-view />
    <FooterGuide v-show="$route.meta.showFooter" />
  </div>
</template>

<script>
import { mapActions } from 'vuex'
import FooterGuide from './components/FooterGuide/FotterGuide.vue'
export default {
  mounted() {
    // this.$store.dispatch('getAddress')
    this.getAddress()
    this.getUserInfo()
  },
  methods: {
    ...mapActions(['getAddress', 'getUserInfo'])
  },
  data() {
    return {}
  },
  components: {
    FooterGuide
  }
}
</script>

<style lang="stylus" scoped>
#app
  width :100%
  height :100%
  background-color :#f5f5f5
</style>
